package com.hyq.learn.api.model.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *  table:    order
 * @author heyuqin
 * @date 2024/5/28 17:58
 */
public class Order implements Serializable {

    /**
     * 主键id
     */
    private Long id;
    /**
     * 用户唯一标识
     */
    private Long customerId;
    /**
     * 订单的创建日期和时间
     */
    private Date orderDate;
    /**
     * 订单的状态
     */
    private Integer orderStatus;
    /**
     * 支付方式
     */
    private Integer paymentWay;
    /**
     * 折扣金额
     */
    private BigDecimal discountAmount;
    /**
     * 订单总金额
     */
    private BigDecimal amount;
    private String remark;
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getPaymentWay() {
        return paymentWay;
    }

    public void setPaymentWay(Integer paymentWay) {
        this.paymentWay = paymentWay;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
